package o;

import androidx.annotation.NonNull;
import java.io.IOException;
import java.io.InputStream;
import o.sl.e;

public final class sq implements sl<InputStream> {
    private final wz ॱ;

    public static final class c implements e<InputStream> {
        private final ud ˎ;

        @NonNull
        public /* synthetic */ sl ˊ(Object obj) {
            return ˋ((InputStream) obj);
        }

        public c(ud udVar) {
            this.ˎ = udVar;
        }

        @NonNull
        public sl<InputStream> ˋ(InputStream inputStream) {
            return new sq(inputStream, this.ˎ);
        }

        @NonNull
        public Class<InputStream> ˋ() {
            return InputStream.class;
        }
    }

    @NonNull
    public /* synthetic */ Object ˏ() throws IOException {
        return ˋ();
    }

    sq(InputStream inputStream, ud udVar) {
        this.ॱ = new wz(inputStream, udVar);
        this.ॱ.mark(5242880);
    }

    @NonNull
    public InputStream ˋ() throws IOException {
        this.ॱ.reset();
        return this.ॱ;
    }

    public void ˊ() {
        this.ॱ.ॱ();
    }
}
